home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
BPAS9.ARJ
/
WHILEBOO.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-05-26
|
281b
|
15 lines
PROGRAM WhileBoolean;
VAR
Counter : Integer;
Done : Boolean;
BEGIN
Writeln( 'While Boolean' );
Counter := 1;
Done := False;
WHILE NOT Done DO
BEGIN
Writeln( Counter );
Counter := Succ( Counter )
Done := (Counter > 10);
END
END.